var MachineGun = Weapon.extend({
	init : function() {
		this.sound = machinegunSound;
		this.img = new Image();
		this.img.src = "WebContent/img/machineGun.png"; // LF image
		this.frames = 3;
		this.frameWidth = 160;
		this.frameHeight = 182;
		this.maxBulletsInMagazine = 35;
		this.currentBullets = 35;
		this.extraMagazines = 0;
		this.currentFrame = 0;
		this.damage = 20;
		this.reloadTime = 40;
		this.reloadingCounter = 0;
		this.frameDelay = 1;
		this.maxFrameDelay = 4;
		this.shootDelay = 3;
		this.shootDelayMax = 3;
		this.reloading = false;
		this.shooting = true;
		this.normalScale = 2;
		this.scaleAim = 2;
		this.maxScale = 8;
		this.xCoord;
		this.yCoord;
		this.scaleGrow = 0.9;
		this.scaleShrink = 0.15;
		this.bulletsPerShoot = 1;
		this.shoot = true;
		this.shoted = false;
		this.floatLeft = -15;
		this.penetrated = 0;
		this.penetration = 1;
		this.price = 1250;// new for shop
		this.picture = "WebContent/img/mp5.png";// new for shop
		this.haveIt = false;// new for shop
		this.ammoPrice = 60;// new for shop
		this.name = "MachineGun";// new for shop
		this.maxExtraMagazines = 6;// new for shop
	}
});